<script type="text/javascript">
	dojo.require("dijit.form.Button");
	dojo.require("dijit.Dialog");
	dojo.require("dijit.layout.TabContainer");
	dojo.require("dijit.layout.ContentPane");
	dojo.require("dijit.form.ValidationTextBox");
	dojo.require("dijit.form.CurrencyTextBox");
</script>

<div class="standard left">
<div class="twocol_1">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="358" height="505" id="floral_slideshow" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="../art/flash/floral_slideshow.swf" />
<param name="quality" value="high" /><param name="wmode" value="transparent"> 
<param name="bgcolor" value="#ffffff" />
<embed src="../art/flash/floral_slideshow.swf" quality="high" wmode="transparent" bgcolor="#ffffff" width="358" height="505" name="floral_slideshow" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</div>

<div class="twocol_2" style="width:360px;">
	<input type=hidden name="collections" id="collections">
	<p>We have a beautiful selection of floral arrangements for you to choose from and we can take care of placing the order for you.</p>
	<br>
	<div>
		<!-- caterers dropdown -->
		<label for="florist">Florists:</label>
		<select name="florist" id="florist" onChange="loadCollectionsList()">
		<option selected>Select a Florist</option>
		</select>
	</div>
	<div>
		<!-- arrangements list box -->
		<label for="collection">Arrangements:</label>
		<select name="collection" multiple="multiple" onChange="collectionChanged()" id="collection">
		<option selected>Choose a Package</option>
		</select>
	</div>

	<div>
		<label for="selections">Selections:</label>
		<textarea name="selections" id="selections" rows=3 readonly></textarea>
	</div>
	<div>
		<!-- notes textarea -->
		<label for="notes">Special Instructions / Notes:</label>
		<textarea name="notes" id="floral_notes" rows=3><?php echo  stripslashes(trim($this->caseInfo['floral_notes'])) ?></textarea>
	</div>

	
	<div id="floralspecial">
		<?php
			$display_floral_total = $this->caseInfo['floral_total'];
			
			$adjustment = $this->caseInfo['adjustment'];
			list($dollars,$cents) = explode(".", $display_floral_total);
			$numdigits = strlen($dollars);
			$commafied_dollars = "";
			for( $i=$numdigits-1; $i>=0; $i-- )
			{
				if(($i%3)==0 && $i<($numdigits-1))
					$commafied_dollars = "," . $commafied_dollars;
				$commafied_dollars = $dollars[$i] . $commafied_dollars;
			}
			$display_floral_total = $this->caseInfo['floral_total'];
		 ?>

		<label for="list_price_total">List Price Total:</label><br>
		<input type=text style="text-align:right; width:70px;" readonly
			 name="list_price_total" size=10 id="list_price_total"
			 value="0">
		<br>
		
		<label for="total">Adjusted Total:</label><br>
		<input type="text" 
				name="total"
				id="total" 
				value="<?php echo "$display_floral_total"?>" 
				dojoType="dijit.form.CurrencyTextBox"
				required="false"
				size=10
				constraints="{fractional:false}" currency="USD" 
				invalidMessage="Invalid amount."
				style="width:70px; height:16px; border:1px solid #D0D5FF; background:#FFF; padding:2px; margin-top:4px;">
		<br>
		<!-- <button type=button>Adjust</button> -->

	</div>
</div>
<br clear="both">
</div>